import Vue from 'vue';
import App from './App.vue';
import './registerServiceWorker';
import router from './router';
import store from './store';

import Fragment from 'vue-fragment';
import './assets/css/common.css';
import './assets/css/iconfont.css';
import './assets/css/animate.less';
import ViewUI from 'view-design';
import 'view-design/dist/styles/iview.css';
import Storage from '@/utils/storage';
import db from './utils/db';

Vue.config.productionTip = false;
Vue.use(Fragment.Plugin);
Vue.use(ViewUI);
Vue.prototype.$storage = new Storage();
Vue.prototype.$db = db;
new Vue({
    router,
    store,
    render: (h) => h(App)
}).$mount('#app');
